package com.bootdo.appsystem.service;

import com.bootdo.appsystem.domain.SellerDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author xiaoxiao
 * @email 806191255@qq.com
 * @date 2018-05-12 14:42:14
 */
public interface SellerService {
	
	SellerDO get(Integer sellerid);

	SellerDO getSellerByUserId(Integer userId);
	
	List<SellerDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SellerDO seller);
	
	int update(SellerDO seller);
	
	int remove(Integer sellerid);
	
	int batchRemove(Integer[] sellerids);

	/**
	 * 首页商家信息
	 * @return
	 */
	List<SellerDO> getIndexList();
}
